for loop php increment by 2

32

 for ($i=1; $i <=10; $i+=2) 
{ 
    echo $i.'<br>';
}

Comments

Submit
0 Comments